<?php
require_once 'CMS/Util.php';
require_once 'CMS/Mvc/BaseController.php';
require_once 'CMS/Mvc/BaseUserController.php';
require_once 'CMS/UserCommon.php';
include "CMS/class.phpmailer.php"; 
include "CMS/class.smtp.php"; 
include "CMS/class.pop3.php";
include "CMS/user.php";

//Người tạo : Nguyễn Nghĩa Hưng - Team 3
//Module 	: Login
//Chức năng	: log in và log out

class Login_LoginController extends BaseUserController
{
	public function init()
	{
		parent::init();
	}
	

	//action log out
	public function logoutAction() 
	{
		$user = new User();
		$user->logout();
		header("Location: /");
	}
}
?>